package com.dapeis.pay.swiftpass.config;

import com.ag.utils.DictionarySettingUtils;

/**
 * <一句话功能简述> <功能详细描述>配置信息
 * 
 * @author Administrator
 * @version [版本号, 2014-8-29]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class SPPayConfig {

    /**
     * 威富通交易密钥 9d101c97133837e13dde2d32a5054abb(测试)
     * 0a835eb0b30b42e20d76c0031e238d0c(正式)
     */
    public static String key = "0a835eb0b30b42e20d76c0031e238d0c";

    /**
     * 威富通商户号 101510054425(正式) 7551000001(测试)
     */
    public static String mch_id = "101510054425";

    /**
     * 威富通请求url
     */
    public static String req_url = "https://pay.swiftpass.cn/pay/gateway";

    /**
     * 通知url
     */
    public static String notify_url = DictionarySettingUtils
	    .getParameterValue("cfg.domain.wechat_domain")
	    + "/wx/sppay/notify";

    /**
     * 预支付
     */
    public static String Service_unified = "pay.weixin.jspay";

    /**
     * 订单查询
     */
    public static String Service_Query_Order = "unified.trade.query";

    public static String version = "2.0";

    public static String charset = "UTF-8";

    public static String sign_type = "MD5";

    /**
     * 是否原生支付
     */
    public static class RAW {
	public static String YES = "1";
	public static String NO = "0";
    }

}
